<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link href="assets/css/bootstrap.min.css" rel="stylesheet" />
    <link rel="stylesheet" href="css/style.css"/>
    <link rel="stylesheet" href="assets/css/ace.min.css" />
    <link rel="stylesheet" href="assets/css/font-awesome.min.css" />
    <link href="assets/css/codemirror.css" rel="stylesheet">
		<!--[if IE 7]>
		  <link rel="stylesheet" href="assets/css/font-awesome-ie7.min.css" />
		<![endif]-->
        <!--[if lte IE 8]>
		  <link rel="stylesheet" href="assets/css/ace-ie.min.css" />
		<![endif]-->
		<script src="assets/js/ace-extra.min.js"></script>
		<!--[if lt IE 9]>
		<script src="assets/js/html5shiv.js"></script>
		<script src="assets/js/respond.min.js"></script>
		<![endif]-->
        		<!--[if !IE]> -->
		<script src="assets/js/jquery.min.js"></script>
		<!-- <![endif]-->
    <script src="assets/dist/echarts.js"></script>
    <script src="assets/js/bootstrap.min.js"></script>
    <script src="js/myRoute.js"></script>
    <title></title>
</head>
<body>
<div class="page-content clearfix">
 <div class="alert alert-block alert-success">
  <button type="button" class="close" data-dismiss="alert"><i class="icon-remove"></i></button>
  欢迎使用<strong class="green">后台管理系统</strong>
 </div>
 <div class="state-overview clearfix">
                  <div class="col-lg-3 col-sm-6">
                      <section class="panel">
                      <a href="#" title="商城会员">
                          <div class="symbol terques">
														 <i class="icon-th-large"></i>
                          </div>
                          <div class="value">
                              <h1><span id="pingbao"></span></h1>
                              <p>屏保</p>
                          </div>
                          </a>
                      </section>
                  </div>
                  <div class="col-lg-3 col-sm-6">
                      <section class="panel">
                          <div class="symbol red">
                              <i class="icon-star-empty"></i>
                          </div>
                          <div class="value">
                              <h1><span id="zhuye"></span></h1>
                              <p>主页</p>
                          </div>
                      </section>
                  </div>
                  <div class="col-lg-3 col-sm-6">
                      <section class="panel">
                          <div class="symbol yellow">
                              <i class="icon-align-justify"></i>
                          </div>
                          <div class="value">
                              <h1><span id="louceng"></span></h1>
                              <p>楼层</p>
                          </div>
                      </section>
                  </div>
                  <div class="col-lg-3 col-sm-6">
                      <section class="panel">
                          <div class="symbol blue">
                              <i class="icon-gift"></i>
                          </div>
                          <div class="value">
                              <h1><span id="pingpai"></span></h1>
                              <p>品牌</p>
                          </div>
                      </section>
                  </div>
									<div class="col-lg-3 col-sm-6">
                      <section class="panel">
                          <div class="symbol lavender">
                              <i class="icon-comment-alt"></i>
                          </div>
                          <div class="value">
                              <h1><span id="huodong"></span></h1>
                              <p>活动资讯</p>
                          </div>
                      </section>
                  </div>
                    <div class="col-lg-3 col-sm-6">
                        <section class="panel">
                            <div class="symbol dangreen">
                                <i class="icon-dashboard"></i>
                            </div>
                            <div class="value">
                                <h1><span id="sheji"></span></h1>
                                <p>设计专区</p>
                            </div>
                        </section>
                    </div>
									<div class="col-lg-3 col-sm-6">
                      <section class="panel">
                          <div class="symbol dangreen">
                              <i class="icon-heart-empty"></i>
                          </div>
                          <div class="value">
                              <h1><span id="fuwu"></span></h1>
                              <p>服务承诺</p>
                          </div>
                      </section>
                  </div>
									<div class="col-lg-3 col-sm-6">
                      <section class="panel">
                      <a href="#" title="商城会员">
                          <div class="symbol terques">
                             <i class="icon-group"></i>
                          </div>
                          <div class="value">
                              <h1><span id="yonghu"></span></h1>
                              <p>管理</p>
                          </div>
                          </a>
                      </section>
                  </div>
              </div>
             <!--实时交易记录-->
 <!--记录-->

     </div>
</body>
</html>
<script type="text/javascript">
//面包屑返回值
	$('.no-radius').on('click', function(){
		var cname = $(this).attr("title");
		var chref = $(this).attr("href");
		var cnames = parent.$('.Current_page').html();
		var herf = parent.$("#iframe").attr("src");
	  parent.$('#parentIframe').html(cname);
	  parent.$('#iframe').attr("src",chref).ready();;
		parent.$('#parentIframe').css("display","inline-block");
		parent.$('.Current_page').attr({"name":herf,"href":"javascript:void(0)"}).css({"color":"#4c8fbd","cursor":"pointer"});
	});

  $(document).ready(function(){
		  $(".t_Record").width($(window).width()-640);
		  //当文档窗口发生改变时 触发
	    $(window).resize(function(){
			 $(".t_Record").width($(window).width()-640);
			});
 });

    initHome();
  function initHome()
  {
      var data = {};
      data.token = localStorage.token;
      $.ajax({
          type: 'get',
          dataType: 'json',
          url: home,
          data: data,
          success: function (res) {
              if (res.code == 200) {
                  $("#pingbao").text(res.data.bannel[bannelPage_pingbao]);
                  $("#zhuye").text(res.data.bannel[bannelPage_zhuye]);
                  $("#louceng").text(res.data.bannel[bannelPage_louceng]);
                  $("#pingpai").text(res.data.bannel[bannelPage_pingpai]);
                  $("#huodong").text(res.data.bannel[bannelPage_huodong]);
                  $("#sheji").text(res.data.bannel[bannelPage_sheji]);
                  $("#fuwu").text(res.data.bannel[bannelPage_fuwu]);
                  $("#yonghu").text(res.data.admin);
              }else{
                  layer.alert(res.message, {
                      title: '提示框',
                      icon: 1,
                  });
              }
          }
      });
  }

 </script>
